pkgname=intel-ipsec-mb
pkgver=1.3
pkgrel=1
pkgdesc="Intel Multi-Buffer Crypto for IPsec Library."
arch=('i386' 'x86_64' 'aarch64')
license=('GPL')
source=("https://github.com/intel/intel-ipsec-mb.git#tag=v$pkgver")
md5sums=('SKIP')

build()
{
	cd "$srcdir/$pkgname"
	make SHARED=n
}

package()
{
	mkdir -p "$pkgdir/lkp/benchmarks/intel-ipsec-mb"
	cp "$srcdir/$pkgname/perf/"ipsec_perf "$pkgdir/lkp/benchmarks/intel-ipsec-mb"
}
